//路由  接口地址就在这里写
const  express = require ('express')

const router = express.Router()

// 登陆
router.use(require('./login/login.js'))
// 获取头部标签
router.use(require('./tags/tags.js'))
// 获取新闻列表
router.use(require('./list/list.js'))
router.use(require('./upload/upload.js'))
router.use(require('./publish/publish'))
router.use(require('./search/search'))
router.use(require('./detail/detail'))


module.exports = router

